<template lang="">
    <div>
        <table>
            <tr>
                <td>员工</td>
                <td>考勤记录</td>
            </tr>
            <tr v-for="item in dayinlist" :key="item.id">
                <td>{{item.employee_name}}</td>
                <td>
                    <div class="left">
                        <span>日期</span>
                        <span>上班</span>
                        <span>下班</span>
                    </div>
                    <div class="right">
                        <div class="li" v-for="(ite,index) in item.appendance_log" :key="index">
                            <span></span>
                            <span></span>
                            <span></span>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</template>
<script>
export default {
    data() {
        return {
            dayinlist:[]
        }
    },
    mounted(){
        this.dayinlist = JSON.parse(this.$route.query.data);
        console.log(this.dayinlist)
    },
    method:{
        
    }
}
</script>
<style lang="">
    
</style>